package com.gec.it.entity;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author wf
 * @since 2022-01-05
 */
@TableName("HP_PERSONS")
public class Persons implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("PS_ID")
    private Integer id;

    @TableField("PS_NAME")
    private String name;

    @TableField("PS_SEX")
    private Integer sex;

    @TableField("PS_LOGIN")
    private String login;

    @TableField("PS_PWD")
    private String pwd;

    @TableField("PS_MONEY")
    private BigDecimal money;

    @TableField("PS_PHONE")
    private String phone;

    @TableField("PS_EMAIL")
    private String email;

    @TableField("PS_SCORE")
    private Integer score;

    /**
     * 1-正常 2-暂停挂号 3-注销
     */
    @TableField("PS_STATE")
    private Integer state;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Persons{" +
        ", id=" + id +
        ", name=" + name +
        ", sex=" + sex +
        ", login=" + login +
        ", pwd=" + pwd +
        ", money=" + money +
        ", phone=" + phone +
        ", email=" + email +
        ", score=" + score +
        ", state=" + state +
        "}";
    }
}
